import express from "express";

// 用户类控制器
import Demand from "../controller/demand/demand";
const userController = new Demand();

const Router = express.Router();

Router.post("/list", userController.list)
  .get("/check", userController.check)
  .get("/remove", userController.remove)
  .post("/add", userController.add)
  .post("/update", userController.update)
  .post("/setFinish", userController.setFinish)
  .post("/setTop", userController.setTop)
  .post("/batch", userController.batch);

export default Router;
